package com.ctg.itrdc.sysmgr.portal.api.service;

import java.util.List;

import com.ctg.itrdc.pasp.core.IBaseService;
import com.ctg.itrdc.sysmgr.portal.api.dto.PrivGrantDTO;
import com.ctg.itrdc.sysmgr.portal.data.entity.PrivGrant;

public interface IPrivGrantService extends IBaseService<PrivGrant, Long, PrivGrantDTO> {

	public void batchDeleteByPrivIds(String ids, PrivGrantDTO dto);
	
	public List<PrivGrantDTO> batchInsert(String ids,PrivGrantDTO dto);
	
	/**
	 * 
	 * @param grantObjType 授权对象类型，区分是系统用户、系统岗位、系统角色
	 * @param grantObjIdList 授权对象标识，根据授权对象类型，区分是系统用户ID、系统岗位ID、角色ID
	 * @return
	 */
//	public List<PrivGrantDTO> selectByGrantObjIdList(String grantObjType, Long... grantObjIdList);
}
